
<!DOCTYPE html>
<html lang="" class="loading">
<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>L3SLIE - L3SLIE&#39;s blog</title>
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="google" content="notranslate" />
    <meta name="keywords" content="L3SLIE,"> 
    <meta name="description" content="Welcome &amp; suit yourself,"> 
    <meta name="author" content="L3SLIE"> 
    <link rel="alternative" href="atom.xml" title="L3SLIE" type="application/atom+xml"> 
    <link rel="icon" href="/img/favicon.png"> 
    <link href="https://fonts.loli.net/css?family=Roboto+Mono|Rubik&display=swap" rel="stylesheet">
    
<link rel="stylesheet" href="//at.alicdn.com/t/font_1429596_nzgqgvnmkjb.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.7.2/animate.min.css">

    
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/css/share.min.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/codemirror/5.48.4/codemirror.min.css">

    
<link rel="stylesheet" href="//cdn.bootcss.com/codemirror/5.48.4/theme/dracula.css">

    
<link rel="stylesheet" href="/css/obsidian.css">

    
<link rel="stylesheet" href="/css/ball-atom.min.css">

<meta name="generator" content="Hexo 4.2.0"></head>


<body class="loading">
    <div class="loader">
        <div class="la-ball-atom la-2x">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
        </div>
    </div>
    <span id="config-title" style="display:none">L3SLIE</span>
    <div id="loader"></div>
    <div class="nav">
    <ul id="menu-menu" class="menu">
        
        <li class="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/whoami/" title="ABOUT" external="false">ABOUT</a>
        </li>
        
        <li class="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/categories/" title="CATEGORIES" external="false">CATEGORIES</a>
        </li>
        
        <li class="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/tags/" title="TAGS" external="false">TAGS</a>
        </li>
        
        <li class="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">
            <a href="/archives/" title="ARCHIVES" external="false">ARCHIVES</a>
        </li>
        
    </ul>
    <p class="copyright" id="copyright">
        &copy; 2020 L3SLIE.
        Powered by <a href="http://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        Theme <a href="https://github.com/TriDiamond/hexo-theme-obsidian" title="Obsidian" target="_blank" rel="noopener">Obsidian</a>
    </p>
</div>

<div id="container">
    
<div class="search-box">
    <form class="site-search-form">
        <span class="iconfont icon-search"></span>
        <input type="text" id="local-search-input" class="st-search-input" />
        <div class="iconfont icon-cross search-box-close"></div>
    </form>
    <div class="search-scrollable">
        <div id="local-search-result" class="local-search-result-cls" data-initialise="Initialising search index..."
            data-start="Please input search keywords." data-empty="No result found, please try other keywords.">
            <span>Please input search keywords.</span>
        </div>
    </div>
</div>
<div id="header">
    <div>
        <div class="logo animated fadeInDown">
            <img src="/img/favicon.png" alt="">
            <a class="image-logo" href="/"></a>
        </div>
        <ul id="menu-menu" class="menu text-menu">
            
            <li class="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">
                <a href="/whoami/" title="ABOUT" external="false" class="menu-link">ABOUT</a>
            </li>
            
            <li class="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">
                <a href="/categories/" title="CATEGORIES" external="false" class="menu-link">CATEGORIES</a>
            </li>
            
            <li class="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">
                <a href="/tags/" title="TAGS" external="false" class="menu-link">TAGS</a>
            </li>
            
            <li class="animated fadeInDown menu-item menu-item-type-post_type menu-item-object-page">
                <a href="/archives/" title="ARCHIVES" external="false" class="menu-link">ARCHIVES</a>
            </li>
            
            
            <li class="animated fadeInDown search-bar iconfont icon-search"></li>
            
        </ul>
        <div class="iconfont icon-menu switchmenu gradient-text animated fadeInDown"></div>
    </div>
</div>
<div id="screen">
    <div id="mark">
        <div class="cover animated fadeIn" style="
            animation-delay: 900ms;
            animation-duration: 2.8s;
            background-image:
                radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.56), #100e17),
                url(/img/cover1.jpg);">
        </div>
    </div>
    
    <div id="post0" class="else">
        <p class="animated fadeInDown">
            
            <a href="/categories/XJUSEC"><b>「
                </b>XJUSEC<b> 」</b></a>
            
            February 29, 2020
        </p>
        <h3 class="post-title animated fadeInDown">
            <a href="/2020/02/29/V-N2020%E5%85%AC%E5%BC%80%E8%B5%9B%E9%83%A8%E5%88%86re/" title="V&amp;N2020公开赛" class="posttitle">V&amp;N2020公开赛</a></h3>
        
        <p class="post-count animated fadeInDown">
            
            <span>
                <b class="iconfont icon-text2"></b> <i>Words count</i>
                7.4k
            </span>
            
            
            <span>
                <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                7 mins.
            </span>
            
            
            <span id="/2020/02/29/V-N2020公开赛部分re/" class="leancloud_visitors" data-flag-title="">
                <b class="iconfont icon-read"></b> <i>Read count</i>
                <span class="leancloud-visitors-count">1000000</span>
            </span>
            
        </p>
        
        
        <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/CTF/" rel="tag">CTF</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/WP/" rel="tag">WP</a></li></ul>
        
        <div class="md-content animated fadeIn">
            
            <p>题目是个cpp程序，打开后可以运行，读了一遍我的环境变量就没了。。。</p>
<p>查壳，没有，拖入ida，进入String窗口，跟踪flag进入函数；</p>
<pre><code class="txt">.rdata:000000014001DCC0    00000009    C    _ArgList
.rdata:000000014001DE00    00000008    C    sysInfo
.rdata:000000014001DE60    00000014    C    ok,I am checking...
.rdata:000000014001DF08    0000001D    C    flag{where_is_my_true_flag?}
.rdata:000000014001DFD0    ...</code></pre>
            
            <span class="read-more"><a href="/2020/02/29/V-N2020%E5%85%AC%E5%BC%80%E8%B5%9B%E9%83%A8%E5%88%86re/" title="Read article" class="posttitle">Read article</a>
                <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
    
</div>

<div class="screen-gradient-after">
    <div class="screen-gradient-content">
        <div class="screen-gradient-content-inside">
            <div class="bold-underline-links screen-gradient-sponsor">
                <p>
                    <span class="typed-text"></span>
                </p>
            </div>
        </div>
    </div>
</div>

    <div id="primary">
        
<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/XJUSEC">
                  <b>「 </b>XJUSEC<b> 」</b>
                </a>
            
            February 29, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/29/V-N2020%E5%85%AC%E5%BC%80%E8%B5%9B%E9%83%A8%E5%88%86re/" title="V&amp;N2020公开赛" class="posttitle">V&amp;N2020公开赛</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        7.4k
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        7 mins.
                    </span>
                
                
                    <span id="/2020/02/29/V-N2020公开赛部分re/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/CTF/" rel="tag">CTF</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/WP/" rel="tag">WP</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <p>题目是个cpp程序，打开后可以运行，读了一遍我的环境变量就没了。。。</p>
<p>查壳，没有，拖入ida，进入String窗口，跟踪flag进入函数；</p>
<pre><code class="txt">.rdata:000000014001DCC0    00000009    C    _ArgList
.rdata:000000014001DE00    00000008    C    sysInfo
.rdata:000000014001DE60    00000014    C    ok,I am checking...
.rdata:000000014001DF08    0000001D    C    flag...</code></pre>
            
            <span class="read-more"><a href="/2020/02/29/V-N2020%E5%85%AC%E5%BC%80%E8%B5%9B%E9%83%A8%E5%88%86re/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/Linux">
                  <b>「 </b>LINUX<b> 」</b>
                </a>
            
            February 29, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/29/Ubuntu%E5%A6%82%E4%BD%95%E6%9F%A5%E6%89%BElibz-so-1%E5%B1%9E%E4%BA%8E%E5%93%AA%E4%B8%AA%E5%8C%85%E5%B9%B6%E5%AE%89%E8%A3%85/" title="Ubuntu如何查找libz.so.1属于哪个包并安装" class="posttitle">Ubuntu如何查找libz.so.1属于哪个包并安装</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        1.2k
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        1 mins.
                    </span>
                
                
                    <span id="/2020/02/29/Ubuntu如何查找libz-so-1属于哪个包并安装/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E9%85%8D%E7%BD%AE/" rel="tag">配置</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <p>当出现：error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory.时，我们首先知道的是缺少<code>libz.so.1</code>这个dll文件。</p>
<p>解决方法：很明显就是安装这个库所在包咯，可是我们怎么这知道 libz.so.1在哪个包呢？</p>
<p>我们使用命令：<code>apt-file search</code> 来查找，首先安装，按如下命令：</p>
<p><code>sudo apt-get install apt...</code></p>
            
            <span class="read-more"><a href="/2020/02/29/Ubuntu%E5%A6%82%E4%BD%95%E6%9F%A5%E6%89%BElibz-so-1%E5%B1%9E%E4%BA%8E%E5%93%AA%E4%B8%AA%E5%8C%85%E5%B9%B6%E5%AE%89%E8%A3%85/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/JAVA">
                  <b>「 </b>JAVA<b> 」</b>
                </a>
            
            February 24, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/24/JavaOOP-2/" title="JavaOOP 2" class="posttitle">JavaOOP 2</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        3.5k
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        3 mins.
                    </span>
                
                
                    <span id="/2020/02/24/JavaOOP-2/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/JAVA/" rel="tag">JAVA</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/NOTE/" rel="tag">NOTE</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E9%9D%A2%E5%AF%B9%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B/" rel="tag">面对对象编程</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <p>发现了一个学习Java的文档博客<a href="http://c.biancheng.net/java/" target="_blank" rel="noopener">link</a></p>
<p><strong>1. 编写2个类：Circle和Cylinder，分别用来刻画“圆形”和“圆柱体”，具体要求如下：</strong></p>
<p>   a)   Circle类具有类型为double的半径属性，具有返回周长、面积的功能。</p>
<p>   b)   Cylinder类具有高、底面半径属性，具有返回表面积和体积的功能，其中求体积和求面积方法。</p>
<p>   c)  编写一个测试Circle和Cylinder的程序，并分别计算输出半径为5的圆的面积，和以一个圆对象为底面，高为8的圆柱体的体积。</p>
<pre><code class="java">//Cricle&amp;Cylinder...</code></pre>
            
            <span class="read-more"><a href="/2020/02/24/JavaOOP-2/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/信安数学">
                  <b>「 </b>信安数学<b> 」</b>
                </a>
            
            February 22, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/22/Sieve-of-Eratosthenes/" title="Sieve of Eratosthenes" class="posttitle">Sieve of Eratosthenes</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        3.8k
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        3 mins.
                    </span>
                
                
                    <span id="/2020/02/22/Sieve-of-Eratosthenes/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E5%8E%84%E6%8B%89%E5%A4%9A%E5%A1%9E%E7%AD%9B%E6%B3%95/" rel="tag">厄拉多塞筛法</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E7%AE%97%E6%B3%95/" rel="tag">算法</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <hr>
<p>介绍厄拉多塞筛法之前先介绍一下求素数的一般方法：</p>
<p>素数是除了1和它本身之外再不能被其他数整除的自然数。</p>
<p>求素数的方法有很多种，最简单的方法是根据素数的定义来求。对于一个自然数N，用大于1小于N的各个自然数都去除一下N，如果都除不尽，则N为素数，否则N为合数。</p>
<p>但是，如果用素数定义的方法来编制计算机程序，它的效率一定是非常低的，其中有许多地方都值得改进。</p>
<ol>
<li>第一，对于一个自然数N，只要能被一个非1非自身的数整除，它就肯定不是素数，所以不<br>必再用其他的数去除。</li>
<li>第二，对于N来说，只需用小于N的素数去...</li></ol>
            
            <span class="read-more"><a href="/2020/02/22/Sieve-of-Eratosthenes/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/信安数学">
                  <b>「 </b>信安数学<b> 」</b>
                </a>
            
            February 20, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/20/%E4%BF%A1%E5%AE%89%E6%95%B0%E5%AD%A6%E4%BD%9C%E4%B8%9A-1/" title="信安数学作业(1)" class="posttitle">信安数学作业(1)</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        881
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        1 mins.
                    </span>
                
                
                    <span id="/2020/02/20/信安数学作业-1/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E4%BD%9C%E4%B8%9A/" rel="tag">作业</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E4%BF%A1%E5%AE%89%E6%95%B0%E5%AD%A6/" rel="tag">信安数学</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <p></p>
<p>解：</p>
<pre><code class="txt">1. 证明： 因为2|n 所以n=2K，K∈Z
               5|n  所以5|2K，又（5，2）=1，所以5|K 即K=5K₁，K₁∈Z
               7|n  所以7|2*5K₁，又（7，10）=1，所以7|K₁即K₁=7K₂，K₂∈Z
              所以n=2*5*7K₂ 即n=70K₂，K₂∈Z
              因此70|n。
2.证明：因为a³-a=（a-1）a（a+1）
             当a=3k，k∈Z   3|a  则3|a³-a 
             当a=3k-1，k∈Z   3|a+1  则3|a³-a
             当a=3k+1，k∈Z   3|a-1  则3|a³-a
          所以a³-a能被3整...</code></pre>
            
            <span class="read-more"><a href="/2020/02/20/%E4%BF%A1%E5%AE%89%E6%95%B0%E5%AD%A6%E4%BD%9C%E4%B8%9A-1/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/概率论">
                  <b>「 </b>概率论<b> 」</b>
                </a>
            
            February 19, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/19/%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1%E4%BD%9C%E4%B8%9A/" title="概率论与数理统计作业（1）" class="posttitle">概率论与数理统计作业（1）</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        14k
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        13 mins.
                    </span>
                
                
                    <span id="/2020/02/19/概率论与数理统计作业/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E4%BD%9C%E4%B8%9A/" rel="tag">作业</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1/" rel="tag">数理统计</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E6%A6%82%E7%8E%87%E8%AE%BA/" rel="tag">概率论</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <hr>
<hr>
<p>1.写出下列随机试验的样本空间及下列事件包含的样本点.</p>
<pre><code class="txt">涉及到的概念：
随机试验E的所有基本结果组成的集合称为样本空间（sample space），记为Ω.样本空间的元素，即E的每个基本结果，称为样本点.</code></pre>
<p>（1） 掷一颗骰子，出现奇数点.</p>
<p>解：<br>$$<br>\begin{align}<br>&amp;\Omega_1={1,2,3,4,5,6 };\<br>&amp;样本点为{1,3,5}<br>\end{align}<br>$$<br>（2） 掷二颗骰子，</p>
<p>  <em>A</em>=“出现点数之和为奇数，且恰好其中有一个1点.”</p>
<p>  <em>B</em>=“出现点数之和为偶数，...</p>
            
            <span class="read-more"><a href="/2020/02/19/%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1%E4%BD%9C%E4%B8%9A/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/OS">
                  <b>「 </b>OS<b> 」</b>
                </a>
            
            February 19, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/19/OS/" title="OS" class="posttitle">OS</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        7k
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        6 mins.
                    </span>
                
                
                    <span id="/2020/02/19/OS/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/NOTE/" rel="tag">NOTE</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/OS/" rel="tag">OS</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F/" rel="tag">操作系统</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <p>DAY 1</p>
<hr>
<ol>
<li>方便性</li>
<li>有效性</li>
<li>可扩充性</li>
<li>开放性</li>
</ol>
<ol>
<li><p>OS作为用户与计算机硬件系统之间的接口</p>
<p>OS处于用户与计算机硬件系统之间，用户通过OS来使用计算机系统。</p>
</li>
<li><p>OS作为计算机系统资源的管理者</p>
<p>在一个计算机系统中，通常都含有多种硬件和软件资源。归纳起来可分为四类：处理机、存储器、I/O设备以及文件（数据和程序）。相应的，OS的主要功能也正是对这四类资源进行有效的管理。</p>
</li>
<li><p>OS实现了对计算机资源的抽象</p>
<p>对于一台完全无软件的计算机系统(即裸机)，由于它向用户提供的仅是硬件接口(物理接口)，因此，用户...</p></li></ol>
            
            <span class="read-more"><a href="/2020/02/19/OS/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/信安数学">
                  <b>「 </b>信安数学<b> 」</b>
                </a>
            
            February 19, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/19/%E4%BF%A1%E5%AE%89%E6%95%B0%E5%AD%A6%E5%9F%BA%E7%A1%80/" title="信安数学基础" class="posttitle">信安数学基础</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        559
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        1 mins.
                    </span>
                
                
                    <span id="/2020/02/19/信安数学基础/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/NOTE/" rel="tag">NOTE</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E4%BF%A1%E5%AE%89%E6%95%B0%E5%AD%A6/" rel="tag">信安数学</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <p>第一节课</p>
<p>我们说</p>
<p>电量满了</p>
<p>带忠哥</p>
<p>老DJ了</p>
<p>初等数论（1~7章）</p>
<p>RSA  欧拉定理（费马小定理）  同余式</p>
<p>AES  域</p>
<p>Diffie-Hellman   原根</p>
<p>本节考关于整数的基本概念和性质：<code>整除</code>和<code>欧几里得除法</code>；</p>
<p>定义：设a，b是任意两个整数，其中b$\neq$0。如果存在一个整数q使得等式</p>
<p>$a= q\times b$</p>
<p>成立，就称b整除a或者a被b整除，记作b|a，并把b叫做a的因数，把a叫做b的倍数。</p>
<hr>

            
            <span class="read-more"><a href="/2020/02/19/%E4%BF%A1%E5%AE%89%E6%95%B0%E5%AD%A6%E5%9F%BA%E7%A1%80/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/概率论">
                  <b>「 </b>概率论<b> 」</b>
                </a>
            
            February 17, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/17/%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1/" title="概率论与数理统计(1)" class="posttitle">概率论与数理统计(1)</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        11k
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        10 mins.
                    </span>
                
                
                    <span id="/2020/02/17/概率论与数理统计/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/NOTE/" rel="tag">NOTE</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1/" rel="tag">数理统计</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E6%A6%82%E7%8E%87%E8%AE%BA/" rel="tag">概率论</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <p>明天就要上概率论与数理统计这门课了，做个笔记，B站上宋浩老师讲的真的快乐的一批。</p>
<p>先来预习一下。</p>
<hr>
<h3 id="定义"><a href="#定义" class="headerlink" title="定义"></a>定义</h3><ol>
<li><p><strong>随机试验</strong></p>
<p>人们是通过试验去研究随机现象的，把对随机现象加以研究所进行的观察或实验，称为试验.若一个试验具有下列三个特点：</p>
<p>1°可以在相同的条件下重复地进行；</p>
<p>2°每次试验的可能结果不止一个，并且事先可以明确试验所有可能出现的结果；</p>
<p>3°进行一次试验之前不能确定哪一个结果会出现.</p>
<p>则称这一试验为随机试验（random trial），记为<code>E</code>.</p>
<pre><code class="txt">e.g.
E1：抛一枚硬币，观察正面H和反面T出现的...</code></pre></li></ol>
            
            <span class="read-more"><a href="/2020/02/17/%E6%A6%82%E7%8E%87%E8%AE%BA%E4%B8%8E%E6%95%B0%E7%90%86%E7%BB%9F%E8%AE%A1/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


<div class="post" id="post">
    <div class="post-cover animated fadeIn" style="
            background-image:
            radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.65), #100e17),
            url(/img/cover1.jpg);">
    </div>
    <div class="else">
        <p class="animated fadeInDown">
            
                <a href="/categories/随笔">
                  <b>「 </b>随笔<b> 」</b>
                </a>
            
            February 16, 2020
        </p>
        <h3 class="post-title animated fadeInDown"><a href="/2020/02/16/MathJax%E8%AF%AD%E6%B3%95/" title="MathJax语法" class="posttitle">MathJax语法</a></h3>
        
            <p class="post-count animated fadeInDown">
                
                    <span>
                        <b class="iconfont icon-text2"></b> <i>Words count</i>
                        6.7k
                    </span>
                
                
                    <span>
                        <b class="iconfont icon-timer__s"></b> <i>Reading time</i>
                        6 mins.
                    </span>
                
                
                    <span id="/2020/02/16/MathJax语法/" class="leancloud_visitors" data-flag-title="">
                        <b class="iconfont icon-read"></b> <i>Read count</i>
                        <span class="leancloud-visitors-count">1000000</span>
                    </span>
                
            </p>
            
                <ul class="animated fadeInDown post-tags-list" itemprop="keywords"><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/MathJax/" rel="tag">MathJax</a></li><li class="animated fadeInDown post-tags-list-item"><a class="animated fadeInDown post-tags-list-link" href="/tags/%E5%8D%9A%E5%AE%A2%E6%90%AD%E5%BB%BA/" rel="tag">博客搭建</a></li></ul>
            
        
        <div class="md-content animated fadeIn">
            
                <ul>
<li>文本中插入，<code>$...$</code></li>
<li>公式自成一段，<code>$$...$$</code></li>
</ul>
<p>如果是多行公式的话：</p>
<pre><code class="mathjax">\begin{equation}\begin{split}
\end{split}\end{equation}</code></pre>
<p><code>\\</code>符号表示换行，再使用<code>&amp;</code>符号表示要对齐的位置，例子如下：</p>
<pre><code class="mathjax">\begin{equation}\begin{split}
h(Y|X)&amp;=\SUM_{X\in X} p(x)H(Y|X)\\
&amp;=-\sum_{x\in X} \sum_{y\in Y}p(y|x)\log p(y|x)...</code></pre>
            
            <span class="read-more"><a href="/2020/02/16/MathJax%E8%AF%AD%E6%B3%95/" title="Read article" class="posttitle">Read article</a> <b class="iconfont icon-arrow-right- gradient-text"></b></span>
        </div>
    </div>
</div>


    </div>
    
    <div id="pager"><a href="/page/5/" class="more" data-loading="加载中..." data-load-more="Load more">Load more</a></div>
    
</div>
<div id="preview"></div>

    <div id="back-to-top" class="animated fadeIn faster">
        <div class="flow"></div>
        <span class="percentage animated fadeIn faster">0%</span>
        <span class="iconfont icon-top02 animated fadeIn faster"></span>
    </div>
</body>
<footer>
    <p class="copyright" id="copyright">
		<span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span>
		<script>
		var now = new Date(); 
		function createtime() { 
			var grt= new Date("01/10/2020 00:00:00");//在此处修改你的建站时间
			now.setTime(now.getTime()+250); 
			days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); 
			hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); 
			if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); 
			mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} 
			seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); 
			snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} 
			document.getElementById("timeDate").innerHTML = "本站已安全运行 "+dnum+" 天 "; 
			document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒"; 
		} 
		setInterval("createtime()",250);
		</script>
        &copy; 2020
        <span class="gradient-text">
            L3SLIE
        </span>❤
        Powered by <a href="http://hexo.io/" title="Hexo" target="_blank" rel="noopener">Hexo</a>
        Theme
        <span class="gradient-text">
            <a href="https://github.com/TriDiamond/hexo-theme-obsidian" title="Obsidian" target="_blank" rel="noopener">Obsidian</a>
        </span>
        <small><a href="https://github.com/TriDiamond/hexo-theme-obsidian/blob/master/CHANGELOG.md" title="v1.4.3" target="_blank" rel="noopener">v1.4.3</a></small>
    </p>
</footer>

<script type="text/javascript" src="https://cdn.bootcss.com/mathjax/2.7.6/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<script>
  MathJax.Hub.Config({
    "HTML-CSS": {
      preferredFont: "TeX",
      availableFonts: ["STIX", "TeX"],
      linebreaks: {
        automatic: true
      },
      EqnChunk: (MathJax.Hub.Browser.isMobile ? 10 : 50)
    },
    tex2jax: {
      inlineMath: [
        ["$", "$"],
        ["\\(", "\\)"]
      ],
      processEscapes: true,
      ignoreClass: "tex2jax_ignore|dno",
      skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
    },
    TeX: {
      noUndefined: {
        attributes: {
          mathcolor: "red",
          mathbackground: "#FFEEEE",
          mathsize: "90%"
        }
      },
      Macros: {
        href: "{}"
      }
    },
    messageStyle: "none"
  });
</script>
<script>
  function initialMathJax() {
    MathJax.Hub.Queue(function () {
      var all = MathJax.Hub.getAllJax(),
        i;
      // console.log(all);
      for (i = 0; i < all.length; i += 1) {
        console.log(all[i].SourceElement().parentNode)
        all[i].SourceElement().parentNode.className += ' has-jax';
      }
    });
  }

  function reprocessMathJax() {
    if (typeof MathJax !== 'undefined') {
      MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
    }
  }
</script>




<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="/js/plugin.js"></script>
<script src="/js/obsidian.js"></script>
<script src="/js/jquery.truncate.js"></script>
<script src="/js/search.js"></script>


<script src="//cdn.bootcss.com/typed.js/2.0.10/typed.min.js"></script>


<script src="//cdn.bootcss.com/blueimp-md5/2.12.0/js/md5.min.js"></script>


<script src="//cdnjs.cloudflare.com/ajax/libs/social-share.js/1.0.16/js/social-share.min.js"></script>


<script src="https://cdn.bootcss.com/codemirror/5.48.4/codemirror.min.js"></script>

    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/javascript/javascript.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/css/css.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/xml/xml.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/htmlmixed/htmlmixed.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/clike/clike.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/php/php.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/shell/shell.min.js"></script>


    
<script src="//cdn.bootcss.com/codemirror/5.48.4/mode/python/python.min.js"></script>




    
<script src="/js/busuanzi.min.js"></script>

    <script>
        $(document).ready(function () {
            if ($('span[id^="busuanzi_"]').length) {
                initialBusuanzi();
            }
        });
    </script>



<link rel="stylesheet" href="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe.min.css">
<link rel="stylesheet" href="//cdn.bootcss.com/photoswipe/4.1.3/default-skin/default-skin.min.css">


<script src="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe.min.js"></script>
<script src="//cdn.bootcss.com/photoswipe/4.1.3/photoswipe-ui-default.min.js"></script>


<!-- Root element of PhotoSwipe. Must have class pswp. -->
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
    <!-- Background of PhotoSwipe. 
         It's a separate element as animating opacity is faster than rgba(). -->
    <div class="pswp__bg"></div>
    <!-- Slides wrapper with overflow:hidden. -->
    <div class="pswp__scroll-wrap">
        <!-- Container that holds slides. 
            PhotoSwipe keeps only 3 of them in the DOM to save memory.
            Don't modify these 3 pswp__item elements, data is added later on. -->
        <div class="pswp__container">
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
            <div class="pswp__item"></div>
        </div>
        <!-- Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. -->
        <div class="pswp__ui pswp__ui--hidden">
            <div class="pswp__top-bar">
                <!--  Controls are self-explanatory. Order can be changed. -->
                <div class="pswp__counter"></div>
                <button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
                <button class="pswp__button pswp__button--share" title="Share"></button>
                <button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
                <button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
                <!-- Preloader demo http://codepen.io/dimsemenov/pen/yyBWoR -->
                <!-- element will get class pswp__preloader--active when preloader is running -->
                <div class="pswp__preloader">
                    <div class="pswp__preloader__icn">
                      <div class="pswp__preloader__cut">
                        <div class="pswp__preloader__donut"></div>
                      </div>
                    </div>
                </div>
            </div>
            <div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
                <div class="pswp__share-tooltip"></div> 
            </div>
            <button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
            </button>
            <button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
            </button>
            <div class="pswp__caption">
                <div class="pswp__caption__center"></div>
            </div>
        </div>
    </div>
</div>







<script>
    function initialTyped () {
        var typedTextEl = $('.typed-text');
        if (typedTextEl && typedTextEl.length > 0) {
            var typed = new Typed('.typed-text', {
                strings: ["Life Long &amp; Pwn", "生命不息，破解不止"],
                typeSpeed: 90,
                loop: true,
                loopCount: Infinity,
                backSpeed: 20,
            });
        }
    }

    if ($('.article-header') && $('.article-header').length) {
        $(document).ready(function () {
            initialTyped();
        });
    }
</script>


    
<script src="//unpkg.com/valine/dist/Valine.min.js"></script>

    <script>

        var valine = new Valine();

        function initValine(path) {
            if (!path) path = window.location.pathname;
            let language = '';
            if (!language) {
                language = 'en';
            } else {
                language = language.toLowerCase();
            }
            valine.init({
                el: '#vcomments',
                appId: 'GnPlbHQ9xAWEoCDC8rR3zALj-gzGzoHsz',
                appKey: 'Nygd2awSxr9ioTDtvbH6hE0l',
                notify: 'false',
                verify: 'false',
                avatar: 'mm',
                placeholder: 'feel free to comment~',
                visitor: 'true',
                path: path,
                lang: language
            });
        }

        $(document).ready(function () {
            initValine();
        });
    </script>



</html>
<!-- 页面点击小红心 -->
<script type="text/javascript" src="/js/love.js"></script>
<!-- 烟火效果 -->
<canvas class="fireworks" style="position: fixed;left: 0;top: 0;z-index: 1; pointer-events: none;" ></canvas> 
<script type="text/javascript" src="//cdn.bootcss.com/animejs/2.2.0/anime.min.js"></script> 
<script type="text/javascript" src="/js/fireworks.js"></script>
<!--自定义标题-->
<script type="text/javascript" src="\js\title.js"></script>
